package com.firebird.fejpslan.mvp.model

import com.firebird.app.fejpsl.http.RetrofitHelper
import com.firebird.app.fejpsl.mvp.contract.FollowContract
import com.firebird.app.fejpsl.mvp.model.bean.*
import io.reactivex.Observable

/**
 * Created by firebird on 2018/4/21.
 */
class FollowModel : CommonModel(), FollowContract.Model {

    override fun requestMyFollowList(): Observable<HttpResult<List<Follow>>> {
        return RetrofitHelper.service.getMyFollowList()
    }

    override fun requestFollowMeList(): Observable<HttpResult<List<Follow>>> {
        return RetrofitHelper.service.getFollowMeList()
    }

    override fun requestBlockPeopleList(): Observable<HttpResult<List<Follow>>> {
        return RetrofitHelper.service.getBlockPeopleList()
    }

}